// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'animate.css'
import  store  from '@/store/store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import waterfall from 'vue-waterfall2'
Vue.use(waterfall)

import axios from 'axios'
Vue.prototype.$axios = axios;
// axios.defaults.headers.post['Content-Type'] = 'text/plain';
// axios.defaults.baseURL = 'http://zdgpcs.natappfree.cc/';
axios.defaults.baseURL = '/api';

import VideoPlayer from 'vue-video-player'
require('vue-video-player/node_modules/video.js/dist/video-js.css');
require('vue-video-player/src/custom-theme.css');
Vue.use(VideoPlayer);

Vue.config.productionTip = false;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
